Square\Models\MeasurementUnit S

Total Complexity 27
Dependencies 9
Dependents 3
Total lines 252
Lines of code 79
Logical lines of code 37
Comment lines 120
Methods 17
Properties 8

Methods 17

Method Rating Maintainability Complexity Lines of code
jsonSerialize()
A
49 11 31
setWeightUnit()
S
81 1 3
setType()
S
81 1 3
getType()
S
82 1 3
setTimeUnit()
S
81 1 3
getTimeUnit()
S
82 1 3
setGenericUnit()
S
81 1 3
getGenericUnit()
S
82 1 3
getCustomUnit()
S
82 1 3
setCustomUnit()
S
81 1 3
setVolumeUnit()
S
81 1 3
getVolumeUnit()
S
82 1 3
setLengthUnit()
S
81 1 3
getLengthUnit()
S
82 1 3
setAreaUnit()
S
81 1 3
getAreaUnit()
S
82 1 3
getWeightUnit()
S
82 1 3